<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/4/6
  Time: 12:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <%
        int id = Integer.parseInt(request.getParameter("id"));
        int num = Integer.parseInt(request.getParameter("num"));
        if (num == 1){
            session.setAttribute("num",num);
            response.sendRedirect(request.getContextPath()+"/InsertInfo.jsp");
        }else if (num == 2){
            session.setAttribute("num",num);
            response.sendRedirect(request.getContextPath()+"/InsertInfo.jsp");
        }
    %>
</body>
</html>
